<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/12/1
 * Time: 16:04
 */
namespace vendor;
use vendor\cord\user;
use vendor\cord\VIP1;

require 'cord\user.php';

require 'cord\VIP1.php';



class manager{
    public function opensite(){
        $this->creatcommoneuser();
        $this->createVIP1user();
    }

    public function showonlinenum(){
        echo '在线人数'.user::getonlinenum().'<br />';
    }
    public function creatcommoneuser(){
        $user = new user();
        $user->mylevel();
        $this->showonlinenum();
    }

    public function createVIP1user(){
        $VIP = new VIP1();
        $VIP->mylevel();
        $this->showonlinenum();
        $VIP->privilege();
    }
}
$manager = new manager();

$manager->opensite();






























